<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>退房结账-选择房号</title>
</head>
<body>
<div>
	<form action="income/judgeRoomName.action" method="post" id="form">
		<div align="center">
		<table >
			<tr>
				<td>请输入退房房号</td>
				<td><input type="text" id="roomName" name="sRoomName" style="background-color: transparent"/></td>
				<td>${msg}</td>
				<td><input type="button" id="button" value="确定" onclick="doButton()"/></td></tr>
		</table>
		</div>
	</form>
</div>
</body>
	<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
	<script type="text/javascript">
	
	function doButton() {
		if(""==$("#roomName").val()){
			alert("输入房号");
			return false;
		}
		document.getElementById("form").submit();
	}	
	</script>
</html>